package net.ib.mtalk.database.task;

import net.ib.mtalk.database.helper.ChatDatabaseHelper;
import net.ib.mtalk.database.helper.InboxDatabaseHelper;
import net.ib.mtalk.ui.chat.ChatListActivity;
import android.content.Context;
import android.os.Handler;

/**
 * 새로운 뷰 UUID로 메시지 및 View 를 업데이트한다.
 * @author happy2v
 *
 */
public class DBUpdateViewUuidTask extends AsyncClientTask {

	// TODO : 삭제
	long mViewMsb;
	long mViewLsb;
	
	public DBUpdateViewUuidTask(Context context, Handler uiHandler) {
		super(context, uiHandler);
//		mViewMsb = ChatListActivity.mViewMsb;
//		mViewLsb = ChatListActivity.mViewLsb;
	}

	@Override
	protected void onPostExecute(int resultCode, Object sentObject,
			Object receivedObject) {
//		InboxDatabaseHelper.updateViewUuid(mContext, mViewMsb, mViewLsb);
//		ChatDatabaseHelper.updateViewUuid(mContext, mViewMsb, mViewLsb);
	}

}
